package com.volcreate.inn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.volcreate.inn.po.Tag;
import com.volcreate.inn.vo.TagVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zxc
 * @since 2020-08-23
 */
public interface ITagService extends IService<Tag> {

    Tag getByName(String name);

    PageInfo<Tag> list(int page, int size);

    List<Tag> list(String tagIds);

    List<TagVO> listByBlogSizeDesc();

    PageInfo<TagVO> listByBlogSizeDesc(int page, int size);

    PageInfo<Tag> listByGmtModifiedDesc(int page, int size);

}
